<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>for test</title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script src="http://jquery-json.googlecode.com/files/jquery.json-2.2.min.js"></script>
    <script type="text/javascript">

        $(function(){
            alert($("ul li[id='a']").remove())
        })
    </script>
</head>
<body>
    <ul>
        
        <li id="a">aaa</li>
        <li id="b">bbb</li>
        <li id="c">ccc</li>
        <li id="d">ddd</li>
        <li id="e">eee</li>
    </ul>
</body>
</html>